import request from '@/utils/request'
// 获取登录验证码
export function getScaptcha() {
    return request.get({ url: '/scaptcha' },{ urlPrefix:'' })
}
// 配置
export function getConfig() {
    return request.get({ url: '/config/getConfig' })
}

// 工作台主页
export function getWorkbench() {
    return request.get({ url: '/workbench/index' })
}

//字典数据
export function getDictData(params: any) {
    return request.get({ url: '/config/dict', params })
}
